<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>内部报事</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="../script/mui/mui.picker.min.css" />
    <link rel="stylesheet" type="text/css" href="../script/mui/mui.reset.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/editStyle.css" />
    <link rel="stylesheet" type="text/css" href="css/home_task_con.css" />
    <style type="text/css">
        .aui-list .aui-list-item-label-icon {
            padding-right: 0;
        }

        .aui-list .aui-list-item-input label {
            margin-right: 10px;
        }

        .aui-btn-primary {
            background: #01B2F5;
            width: 95%;
            left: 2.5%;
            bottom: 0.5rem;
            border-radius: 5px;
        }

        .inline_placeholder::placeholder {
            text-align: right;
        }

        .imglist_box {
            overflow: hidden;
        }

        .moreproject {
            width: 93%;
            float: left;
            line-height: 1rem;
            padding-top: 4px;
            /* margin-right: 10px; */
            text-align: right;
        }
        .aui_formcontent {
            text-align:right;
        }
        .aui_formcontent input{
            font-size: 0.75rem;
        }
        .aui_formtitle{
            font-size: 0.75rem;
        }
        .deleteicon{
            color: #289fff;
            position:absolute;
            right: 0px;
            top:-1px;
            font-size: 14px;
            font-weight: unset;
        }
        .task_process_basic_title_time{
            width: 30px;
            height: 30px;
            line-height: 30px;
            border-radius: 5px;
            border:dashed 0.5px #289fff;
            text-align: center;
            color:#289fff;
            
        }
        .gj_box{
            padding: 10px!important;
        }
        /* .deleteicon i{
            margin-right: 5px;
        } */
        .task_process_basic_title_name .fl{
            font-size: 0.8rem;
        }
        .task_process_basic_title_name span{
            color: #999;
        }
        .shenpi{
            float: right;
            
        }
        .shenpi_person{
            position: relative;
            width: 40px;
            margin-right: 2px;
            margin-left: 5px;
            text-align: center;
            /* padding-left: 5px; */

        }
        .person{
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 0.6rem;
            border-radius: 5px;
            text-align: center;
            color: #fff;
            background:#289fff;
            margin-left: 5px;
        }
        .person_name{
            width: 38px;
            text-align: center;
            font-size: 0.6rem;
            height: 30px;
            line-height: 30px;
        }
        .ellipsis-1{
            width: 38px;
            text-align: center;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
        }
        .shenpi_person img{
            position: absolute;
            width: 20px;
            height: 20px;
            right: -5px;
            top:-12px;
            overflow: hidden;
        }
        .col-star{
              width: 8px;
              height: 8px;
              margin-top: 10px;
              margin-left: 5px;
          }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <!-- 物品用途 -->
        <div class=" boxarea edit">
            <div class="aui_formitem only_line no_line p0">
                <div class="work_title aui_formtitle" >物品用途<img class="col-star" style="margin-top: 3px;" src="../image/redstar.png"></div>
                <div class="aui-list-item-input" style="width: 100%; overflow: hidden;">
                  <textarea placeholder="请填写记录(选填信息)" style="height: 4rem;" v-model="form.GoodsUseName"></textarea>
                </div>
            </div>
        </div>
        <!-- 物品 -->
        <div class=" boxarea edit" v-for="(item,index) in form.GoodsList" :key="index">
            <div class="aui_formitem only_line no_line p0">
                <div class="work_title" >
                    物品{{index+1}}
                  <div class="deleteicon" v-if="index!==0" v-on:click="do_delete(item,index)"><i class="icon iconfont icon-shanchu "></i></div> 
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">名称<img class="col-star" src="../image/redstar.png"></div>
                    <div class="aui_formcontent">
                        <input type="text" placeholder="请填写" v-model="item.Name">
                    </div>
                </div>
                <div class="aui_formitem no_line">
                    <div class="aui_formtitle">数量<img class="col-star" src="../image/redstar.png"></div>
                    <div class="aui_formcontent">
                        <input type="number" placeholder="请填写" v-model="item.Number">
                    </div>
                </div>
            </div>
        </div>
        <div class="addbox" v-on:click="addbox()"><i class="icon iconfont icon-tianjia"></i>增加物品</div>
        <!-- 审批 -->
        <div class=" boxarea edit">
            <div class="aui_formitem only_line no_line p0">
                <div class="work_title" >审批流程</div>
                
                    <div class="gj_box">
                        <ul class="processul">
                            <li class="processulli  li-border-color-grey">
                                <div class="task_process_con">
                                    <div class="handle">
                                        <div class="task_process_basic_title">
                                            <div class="task_process_basic_title_name fl">
                                                <div class="fl aui_formtitle">审批人<img class="col-star" src="../image/redstar.png"></div>
                                                <div class="handle_con_msg ">
                                                    <span v-if="choose_id_list.length==0">请选择审批人</span>
                                                    <span v-if="choose_id_list.length>0">已选{{choose_id_list.length}}人</span>
                                                </div>
                                            </div>
    
                                           <div v-if="choose_id_list.length==0" class="task_process_basic_title_time ccc fr"  v-on:click="choose_persons(1)"><i class="icon iconfont icon-addApp"></i></div>
                                           <div class="shenpi" v-for="(item,index) in choose_id_list">
                                                <div class="shenpi_person">
                                                    <div class="person">{{item.UserName.slice(-2)}}</div>
                                                    <div class="person_name ellipsis-1">{{item.UserName}}</div>
                                                    <img  v-on:click="guanbi_pic(index,1)" src="../image/cx.png">
                                                    <!-- <i class="icon iconfont icon-guanbi" ></i> -->
                                                </div>
                                                
                                            </div>
                                            
                                            
                                            <div class="cl"></div>
                                        </div>
                                    </div>
                                    <div class="hide_height"></div>
                                </div>
                            </li>

                            <li class="processulli  li-border-color-grey">
                                <div class="task_process_con">
                                    <div class="handle">
                                        <div class="task_process_basic_title">
                                            <div class="task_process_basic_title_name fl">
                                                <div class="fl">抄送人</div>
                                                <div class="handle_con_msg ">
                                                    <span v-if="select_id_list.length==0" >请选择抄送人</span>
                                                    <span v-if="select_id_list.length>0">已选{{select_id_list.length}}人</span>
                                                </div>
                                            </div>
                                            <div class="fr" style="width: 65%;">
    
                                                <div  class="task_process_basic_title_time ccc fr" style="margin-left: 18px;" v-on:click="choose_persons(0)"><i class="icon iconfont icon-addApp"></i></div>
                                                <div class="shenpi"  v-for="(item,index) in select_id_list">
                                                    <div class="shenpi_person">
                                                        <div class="person">{{item.UserName.slice(-2)}}</div>
                                                        <div class="person_name ellipsis-1" >{{item.UserName}}</div>
                                                        <img  v-on:click="guanbi_pic(index,0)" src="../image/cx.png">
                                                        <!-- <i class="icon iconfont icon-guanbi" v-on:click="guanbi_pic(index,0)"></i> -->
                                                    </div>
                                                </div>
                                             </div>


                                            <div class="cl"></div>
                                        </div>
                                    </div>
                                    <div class="hide_height"></div>
                                </div>
                            </li>
                        </ul>
    
                    </div>

                
                <div class="aui_formitem no_line">
                </div>
            </div>
        </div>
       

        <div class="bottom">
            <div class="aui_bottombtn" v-on:click="do_save()">提交</div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-actionsheet.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/mui/mui.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.picker.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.poppicker.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript " src="js/purchase_add.js"></script>

</html>
